Searching for entries matching session colors, looking in title and description, keywords for any words Submitted by Fat Tails Found 58 matching entries
The Double Smoothed Stochastics (DSS) is an exponentially smoothed stochastics indicator applied to an exponentially smoothed stochastics. It has been popularized by Walter Bressert. The DSS can be used as a cycle indicator. Usually first a cycle analysis is performed. The DSS should then be applied with half the cycle period of the dominant cycle. Walter Bressert uses the indicator with default periods of 10 and 5, and calls them DBS10 and DBS5.
This indicator is a modified version of the Double Stochastics NinjaTrader default indicator. I have coded it for various reasons.
EMA period: The NinjaTrader default DSS uses an EMA period of 3. This setting cannot be changed. However, nearly all other versions of the DSS use an EMA period between 8 and 10. This version uses a default period of 9, which can be changed.
Coding Inefficiencies: The NinjaTrader default DSS is highly inefficient, when running with COBC = false, because both MAX and MIN methods are performed twice with every incoming ticks. I have changed the algorithm to increase the speed.
Signal Line: I have added a signal line to the DSS. The signal line is generated as an EMA of the DSS, in the same way as it is generated for the MACD.
Rising and Falling Colors: The indicator will plot in different colors, depending on whether the Double Stochastics is rising or falling.
You can put a slow and a fast Double Stochastics indicator on your chart, then use the slow one as trend filter and the fast one for timing the entry signals.
Update March 6, 2013: Code efficiency improved, signal line added.
Update March 7, 2013: Bug removed, indicator displayed false values with COBC = false.
Please download the new Supertrend U11 (Universal), which allows to calculate the stop line from median, mode and 27 other moving averages.
This is a new implementation of the TradeStation SuperTrend indicator for NinjaTrader 7. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties.
The SuperTrend M11 is particularly stable and has a few advantages over other SuperTrend indicators:
It uses a moving (statistical) median of the arithmetic mean (High + Low)/2 of the bars instead of a moving average. The (statistical) median is known to be more robust than any average.
It calculates both the Median and the ATR (average true range) 1 bar ago, whereas the original SuperTrend indicator takes the ATR and moving average of the current bar. If you use the current bar's ATR, the current bar's breakout is partly measured against its own range. This is particularly true, if the ATR period is short.
Accessing the trend: The indicator comes with a BoolSeries that holds the trend. This BoolSeries can be accessed by other indicators or automated strategies.
Reverse Intra-bar = false: This is the default setting of the indicator. A logical signal will be generated when the close of the signal bar has taken out the stop line. The position may be reversed at the open of the next bar. The paint bars will only change colors for the bar after the signal bar. The arrow will be also plotted for the entry bar.
Reverse Intra-bar = true: This is an unusual setting for the SuperTrend. The signal will be generated with the first tick that has plotted on the other side of the stop line. In this case the position may be reversed intra-bar for the signal bar. Paintbars and arrows will already plot for the signal bar.
Paintbars: The indicator has an option to display the current trend via paintbars. Downclose bars are filled, upclose bars are hollow. For the upclose bars an opacity can be selected for better visibility.
Arrows: The indicator has an option to display trend changes via an arrow.
Sound alerts: The indicator will alert to trend reversals and potential trend reversals. A potential trend reversal occurs when price touches the stop line intra-bar prior to the confirmation by a close on the other side of the stop line. The sound files are included with the indicator install file. Please unzip and copy them into the program files (x86)\ NinjaTrader 7\ sounds directory or whatever directory is used by NinjaTrader to store the sound files.
Comparison between SuperTrend M1 and SuperTrend M11:
The SuperTrend M11 calculates both the average true range and the median 1 bar ago. This results in a considerable saving in CPU load, if you use the indicators in CalculateOnBarClose = false mode. The SuperTrend M11 does the median calculation only once per bar, while the SuperTrend M1 recalculates it with every incoming tick. If you use the indicator with CalculateOnBarClose = true setting, you can also continue to use the SuperTrend M1. There will be no significant difference in performance.
Changed formula: The Supertrend M11 will give slightly different results, when compared with the Supertrend M1. If you want to reproduce the settings of your Supertrend M1, you should use the same value for the ATR period and the ATR multiplier, but reduce the value for the median period by 1. The result will still not be identical. Also for both indicators a minimum size for the ATR values has been imposed, the ATR may not be smaller than the ticksize. This is only important for lower timeframes during low volatility and prevents the SuperTrend from changing the trend too often.
SuperTrend M1: The indicator package contains an updated version of the SuperTrend M1. However, I recommend to switch to SuperTrend M11.
Update August 10, 2011 : Visual design improved. The new indicator version can also be called by other indicators and strategies.
Update May 23, 2012: Entirely recoded version, which uses Median and ATR 1 bar ago to avoid recalculation with every tick. Sound alerts added that trigger intra-bar and which can be used on replay. Smaller improvements added.
Update May 24, 2012: Bug removed, upclose candles were not plotting properly.
Update June 30, 2012: New SuperTrend U11 "Universal" released, this is a new indicator - see link for more information
Update October 2, 2012: Indicator simplified. Trend state can no longer change intra-bar.
Update October 3, 2012: Indicator now allows for displacement. BoolSeries modified for accessing the trend. Trend change intra-bar is possible with option reverse intra-bar and COBC = false.
Update March 5, 2013: Arrows now plotting one bar earlier for the option Reverse intra-bar = true.
This is a new implementation of the TradeStation SuperTrend indicator for NinjaTrader 7. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties. The SuperTrend can be viewed as a trailing stop and changes direction, when the trailing stop is taken out.
The SuperTrend U11 calculates both the baseline and the offset 1 bar ago, as did the SuperTrend M11. This is to reduce CPU load and avoid feedback loops.
Accessing the trend: The indicator comes with a BoolSeries that holds the trend. This BoolSeries can be accessed by other indicators or automated strategies.
Reverse Intra-bar = false: This is the default setting of the indicator. A logical signal will be generated when the close of the signal bar has taken out the stop line. The position may be reversed at the open of the next bar. The paint bars will only change colors for the bar after the signal bar. The arrow will be also plotted for the entry bar.
Reverse Intra-bar = true: This is an unusual setting for the SuperTrend. The signal will be generated with the first tick that has plotted on the other side of the stop line. In this case the position may be reversed intra-bar for the signal bar. Paintbars and arrows will already plot for the signal bar.
Paintbars: The indicator has an option to display the current trend via paintbars. Downclose bars are filled, upclose bars are hollow. For the upclose bars an opacity can be selected for better visibility.
Arrows: The indicator has an option to display trend changes via an arrow.
Sound alerts: The indicator will alert to trend reversals and potential trend reversals. A potential trend reversal occurs when price touches the stop line intra-bar prior to the confirmation by a close on the other side of the stop line. The sound files are included with the indicator install file. Please unzip and copy them into the program files (x86)\ NinjaTrader 7\ sounds directory or whatever directory is used by NinjaTrader to store the sound files.
Comparing Supertrend U11 to Supertrend M11:
The SuperTrend U11 is a generalization of the SuperTrend M11.
-> The SuperTrend M11 uses the moving median of the arithmetic mean (High + Low)/2 one bar ago and adds/subtracts a multiple of the average true range one bar ago.
-> The SuperTrend U11 allows you to use the median as above , but instead you can also calculate the baseline from a selection of other indicators. These are the options available for the baseline
- a moving median
- a moving mode
- an ADXVMA
- a 2-pole Butterworth filter
- a 3-pole Butterworth filter
- a DEMA (double exponential MA)
- a DSMA (double simple MA)
- a DTMA (double triangular MA)
- a DWMA (double weighted MA)
- an Ehlers filter
- an EMA
- a 2-pole Gauss filter
- a 3-pole Gauss filter
- a 4-pole Gauss filter
- a HMA (Hull MA)
- a Holt EMA
- a Linear Regression indicator
- a LLMA (phase set to 0)
- a SMA
- a 2-pole Supersmoother
- a 3-pole Supersmoother
- a TEMA (triple exponential MA)
- a TMA (triangular MA)
- a TSMA (triple simple MA)
- a TWMA (triple weighted MA)
- a VWMA(volume weighted MA)
- a WMA (weighted MA)
- a ZeroLagHATEMA
- a ZeroLagTEMA
- a ZLEMA
While the SuperTrend M11 uses the average true range as an offset, the offset for the SuperTrend U11, can be selected as
- a moving average (or median, mode) of the simple range
- a moving average (or median, mode) of the true range
- the standard deviation
The added options will not slow down the indicator, as the selection becomes effective, when the indicator is added.
You can reproduce the SuperTrend M11 with the SuperTrend U11, if you apply it to the arithmetic mean (Median in NinjaSpeak) and select "Median" for the baseline, "EMA" for offset smoothing and "True Range" for offset type. However you need to take into account that the ATR uses Wilder's exponential smoothing (smoothing constant k = 1/n) which is different from the EMA (smoothing constant k = 2/(n+1)). For example an offset period of 8 for the SuperTrend M11 will produce a smoothing factor of 1/8 and translate to an offset period of 15 for the SuperTrend U11.
Update July 3, 2012: ADXVMA option for baseline added.
Update July 5, 2012: Bug removed - Butterworth, Gauss and Supersmoother Fillter did not use the specified baseline period.
Update August 17, 2012: Old version of ADXVMA replaced with new version.
Update August 31, 2012: Ehlers filter updated.
Update October 2, 2012: Indicator simplified. Trend state can no longer change intra-bar. Gaussian and Ehlers filters updated. Mode removed from options.
Update October 3, 2012: Indicator now allows for displacement. BoolSeries modified for accessing the trend. Trend change intra-bar is possible with option reverse intra-bar and COBC = false.
Update March 5, 2013: Arrows now plotting one bar earlier for the option Reverse intra-bar = true.
For the last three updates you also need to update Bollinger Universal & Keltner Universal, if you have them installed. Please remove old versions of those indicators first.
This is a simple bar timer for minute charts with an added audio alert.
Copy your favourite sound file into the directory -> programs -> NinjaTrader 7 -> sounds. Now enter the name of that sound file and the leadtime in seconds via indicator dialogue box.
The indicator name is "anaBarTimer". Please do not confuse it with the default NinjaTrader BarTimer.
Please note that NinjaTrader 7 does not support wav/MPEG. wav/MPEG files need to be converted to wav/PCM files first.
Update September 20, 2012: Indicator triggered random alerts during off-session times, when no ticks were arriving. Bug removed. Font size of display can now be selected.
Update November 21, 2014: Option added to select the fontstyle (regular, bold, italic ...)
This indicator is an old version and there will be no more maintenance. All the features have now been integrated with the SessionPivots indicator that can be downloaded here:
The indicators that come with the SessionPivots package also allow to display weekly and monthly noise bands.
Indicator will only run on NT 7.0.1000.5 or later.
The indicator identifies the intraday volatility generated by noise traders. The daily noise is defined as the smaller of (High - Open) and (Open - Low). The indicator detects the average daily noise (ADN) for two selectable periods and uses them to calculate intraday targets, which are displayed as noise bands. The upper band is calculated by adding the expected noise to the current open, the lower band is calculated by subtracting the expected noise from the current open.
The daily noise can be calculated and displayed for the full session or any intraday (RTH) session defined via the template. The indicator also can display OHL and Dynamic Fib Lines for the current session.
Indicator Settings
BandRange: The default setting uses 100% of the ADN of the selected period. Instead of using 100% you can select any other percentage to calculate the intraday target bands.
Include After-Session : If set to true, the volatility bands of an intraday session will be extended to the next session, the after-session, but not recalculated. Default value is "false".
Period(1) for the average daily range: This is the shorter period used to calculate average daily range. Default value is 3 days, maximum selectable is 100 days.
Period(2) for the average daily range: This is longer period used to calculate the average daily range. Default value is 10 days, maximum selectable is 100 days.
Session: Select between the full ETH and the RTH session. Default value is "ETH."
Session for RTH: Select the RTH session, for which you want to display the bands. For FOREX, you would select "First" for the Asian session, "Second" for the European session and "Third" for the US session, if you use a session template with 3 intraday sessions. For ES you would select "Second", if your session is divided into night and day session. Default value is "Second". This option only applies, if "RTH" has been selected under "Session". A hybrid setting selects the third intraday session for FOREX and currency futures, and the second intraday session for all other futures contracts. Only select it, if you use triple session templates (Asian, European, US) for FOREX and Currency Futures.
Show Current Open: Selects or unselects Current Open.
Show Dynamic Fib Lines: Selects or unselects intraday Fibonacci retracements. Fib retracements will only be shown if Show High/Low is set to true.
Show High/Low: Selects or unselects to show the current day's high and low.
Show Noise Bands: Selects or unselects projection bands.
Show Noise Labels: Selects or unselects projection band labels.
Show Range Data: Displays average daily ranges and current day's range for the selected session in the upper left or upper right corner of the chart.
The indicator calculates the average daily noise without using range data from holiday sessions.
FOREX / Currency Futures: Daily Ranges are displayed in PIPS.
Update Jan 23 2011: Globex Holiday Calendar for 2011. Holiday sessions will only be applied to Globex instruments. Price markers are now correctly formatted for US interest rate futures and FOREX.
Update June 2, 2011: New signature for GetNextBeginEnd() implemented.
Update June 20, 2011: The indicator now works with half-pip FOREX feeds. Indicator dialogue box improved.
Update June 25, 2011: Band colors were not serialized and therefore did not keep the selected color, when saved as part of a template or workspace.
Update July 11, 2011: Band colors change when the noise bands are penetrated. The signature for DrawRectangle() was changed to avoid some rare problems.
Update July 19, 2011: Serialization of the plots changed.
Update September 24, 2011: ChartControl checked for null, indicator can now be called by strategies.
Update August 28, 2012: Globex Holiday Calendar for 2012 added. Custom plot recoded to remove a minor bug and improve CPU efficiency.
All previous versions of the ADXVMA are based on a dirty transcript from MetaTrader which has a number of bugs, inconsistencies or variables that are not being used. This is just an attempt to clean up the mess and come up with a proper version. These are the changes:
Initialization: Most versions are initialized with a value of 0 instead of Input[0], this usually creates false values for the first 100 or 200 bars.
Redundant variables: The transscripts from MetaTrader use 4 different variables for the period, although it is always the same period. A variable used for the shift in MetaTrader is carried around, although it always has the value 0.
Inefficient algorithms: The indicator mostly uses Wilder's smoothing for calculating exponential averages from the positive and negative Momentum. The smoothing constant k is calculated once and applied to the various steps required for smoothing. Searching the highest and lowest value for the last n+1 period was hidden in a complex algorithm.
Input Series: The prior versions can only be applied to the close, this version also accepts other input series, such as the high, low or the typical price of the selected instrument.
Trendfilter: The indicator can best be used as a trendfilter. The trend state, which can be positive, negative and neutral, is exposed via an IntSeries, which can then be accessed by other indicators and strategies. The trend can also be shown via a paintbar option.
Update June 11, 2012: Trendfilter and colors modified to avoid frequent trend changes.
Update July 3, 2012: Serialization of display options changed. This will make it simpler to call the indicator from other indicators or strategies.
This is a fast version of the MACD BB Lines indicator. The MACD settings and the band period, the multiplier for the standard deviation, the dotsize and all colors can be selected.
Different colors can be selected for a rising and falling MACD and for dots outside and inside the Bollinger Bands. The zeroline crosses are indicated by large dots. The zeroline itself can be used as a trend filter.
Paint Bars: The price bars can be painted in the same color as the dots. To allow for differentiating downcloses from upcloses, downcloses are filled while upcloses are hollow bars. The opacity for the upcloses can be selected.
Alerts: Breakouts from the Bollinger Band (violation dots) can be indicated with arrows or sound alerts. A sound alert for zeroline crosses has also been added.
This indicator can also be used on multiseries charts or charts with equidistant bar spacing set to "false".
The default colours are adapted to dark backgrounds. Please change them, if you use the MACDBBLines on a lighter background.
The sound files are included with the zip file. You have to unzip them manually and copy them to the NinjaTrader sounds directory.
Update April 5, 2011: You can now select different colors for
- rising MACD below upper Bollinger Band
- rising MACD above upper Bollinger Band (trending)
- falling MACD above lower Bollinger Band
- falling MACD below lower Bollinger Band (trending)
Update July 17, 2011: Indicator simplified.
Update September 6, 2011: Options for customizing plots added.
Update February 8, 2011: Paintbars added.
Update May 17, 2012: Arrows and sound alerts added. Opacity for upclose paint bars is selectable.
The Momentum BB Lines is an indicator, which is similar to the MACD BB Lines. However, it is not based on the MACD, but on a smoothed, balanced momentum.
The balanced momentum is obtained, when the input value one period ago is replaced with a triangular moving average. This avoids that wide ranging bars which drop out of the momentum calculation have an impact on the momentum line.
The balanced momentum is exponentially smoothed with a selectable smoothing period. The BB Lines are Bollinger Bands, which use the same period for the standard deviation as is used for the balanced momentum before smoothing. The Bollinger Bands are applied to the smoothed momentum.
Different colors can be selected for a rising and falling smoothed momentum and for dots outside and inside the Bollinger Bands.
The indicator has an option to plot paint bars showing whether the smoothed momentum is sloping up or down and whether it is outside or inside the Bollinger Bands.
This indicator package is an old version and there will be no more maintenance. All the features have now been integrated with the SessionPivots indicator that can be downloaded here:
The indicators include an option to display dynamic fiblines calculated from the high and low of the current day, current week or current month.
Right side chart margin: Please set the right side margin under chart properties to at least 100 to allow for correct display of labels.
The indicators use the sessions as defined per session template. This allows you to alternatively display the high and low of the day session or the high and low of the entire session. For the RTH high and low. please use a multi-session (2 or 3) session template. The reference session for the OHL indicator can be selected, so high and low can be taken from first, second or third intraday session.
Hybrid: This is a setting that will identify the RTH session as the third intraday session for FOREX and currency futures, but as the second session for all other instruments. This is a convenience setting, which I personally use, as I have 3-session templates (Asia, Europe, US) for FOREX and currency futures. For all other instruments, I have session templates, where the second session is the RTH session.
Public Holidays: The indicator is preconfigured for public holidays without settlement for trade date next day or later. These holiday session will only be applied to Globex instruments. The Current Day OHL will then be displayed according to trade dates. If you use the indicator for other instruments you will not need to change the settings.
Update May 24, 2011: Signature changed for GetNextBeginEnd(), indicator did not always plot. Now the new signature is used for OnBarUpdate() and the old signature for Plot() Override.
Update June 21, 2011: The indicator now works with half-pip FOREX feeds. Indicator dialogue box improved.
Update July 19, 2011: Adapted to half-pips FOREX feeds, dialogue box improved, plot serialization changed.
Update December 10, 2011: Label size is now adjustable. Globex Holiday Calendar for 2012 added.
Update January 6, 2012: Holiday fields added for anaCurrentOHLV38
Detailed explanations how to use the indicator with session templates can be found here:
March 8th, 2017 05:16 PM allsensi So simple so brilliant so helpful, many thanks
January 25th, 2016 02:25 PM JayDee Thanks! Now I can take five minute nap and not miss a setup!
September 30th, 2015 12:29 PM Camdo Adding an alarm is a great addition to NT's BarTimer.
June 12th, 2014 02:26 PM schapps99 I don't see anywhere to enter the sound file or alert lead time in the indicator dialogue box? Not sure to code matches
November 26th, 2013 12:57 AM SodyTexas Sounds a lot like Toby Crabel's breakout, great stuff! Thanks Fats. Have you looked at Linda's Raschke adaptation? I'm s
ure you have.
Cheers,
September 23rd, 2013 11:33 AM tflanner thanks for everything...very helpful
February 16th, 2016 10:46 AM no3putts Great, thank you!
August 10th, 2015 11:43 AM Tony09 Thanks, again Fat Tails,
Awesome indicator - Exactly what im looking for entry timing.
Regards
Tony
March 23rd, 2014 11:51 AM stefp799 I am a newcomer, and i want to thank you for offering this great rendition of this old timer indicator. I was an old Stu
dent of Walter Bressert and am very familiar with the whole theory. This indicator is just what i was looking for. Had l
ost it years ago...Not useful by itself..but very useful when you look at a higher fractal chart in conjunction. say 5 m
inute chart is your master chart, and you trade on a 510 tick chart for example...or better yet...Bressert will look at
a daily chart..and when the doublestoch is descending..will short all the opportunity offered by the smaller fractals, b
ut more precise charts.. When the doublestoch is in sync between many fractals..you get the most bang for your buck. Tha